sql pivot without knowing column names

welcome to shbcf.ru